package com.xm2.demo.system.customer.service;

import com.xm2.demo.model.User;
import com.xm2.demo.utils.Pagination;

import java.util.List;

/**
 * @Author
 * @Date 2018/12/14 11:19
 * @Description
 */
public interface CustomerService {
    // 查询顾客
    Pagination findByPositionId(Pagination pagination);

    void updateUser(User user);

    void addUser(User user) throws Exception;

    List<User> findByUsernameAndPositionId(String username, Integer i);

    void deleteUsername(Integer[] ids) throws Exception;
}
